function ClassA() {
    this.x = "hello";
}
ClassA.prototype.x = "world";
var a = new ClassA();
a.x = "what";
console.log(a.x);
delete a.x;
console.log(a.x);
delete a.x;
console.log(a.x);
a.x = undefined
console.log(a.x);